package com.supermap;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.DispatcherServlet;
import org.springframework.web.servlet.HandlerMapping;

;

/**
 * Spring Boot入口类
 * SpringBootApplication = Configuration+EnableAutoConfiguration+ComponentScan
 * 注意要加上@ServletComponentScan注解，否则Servlet无法生效  for druid
 * @author xiaolu
 */
@SpringBootApplication
public class BusinessPlatformApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BusinessPlatformApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
    }

}
